Dragonfly Help > Segmentation > Creating Distance Maps

Creating Distance Maps

Distance maps (also called distance transforms) are powerful tools for a number of image processing techniques. In mathematics, the Euclidean distance or Euclidean metric is the ordinary distance between two points that could be measured with a ruler. When you create a Euclidean distance map, such as the one shown below, each voxel outside the region of interest is replaced with a gray value equal to that voxel’s distance from the nearest voxel in the ROI.

Distance map in XY, XZ, and YZ planes

Distance map

Distance maps are also available for multiple regions of interest. If multiple ROIs are selected, the geometry of region of interest selected first will be used to calculate the distance map.

  1. Right-click the required region(s) of interest in the Data Properties and Settings panel.
  2. Choose Create a Distance Map in the pop-up menu.

    The distance map is created and added automatically to the Data Properties and Settings panel (see Image Data Properties and Settings)

 

Dragonfly Help Live Version